package com.qinyunkj.searchchatserver.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qinyunkj.searchchatserver.model.dto.ArticleQAQuery;
import com.qinyunkj.searchchatserver.model.entity.ArticleQA;
import com.qinyunkj.searchchatserver.model.vo.ArticleQAStatistics;
import com.qinyunkj.searchchatserver.model.vo.ArticleQAVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface ArticleQAMapper extends BaseMapper<ArticleQA> {
    
    IPage<ArticleQAVO> selectQAPage(IPage<ArticleQAVO> page, @Param("query") ArticleQAQuery query);
    
    ArticleQAStatistics selectQAStatistics();
} 